Repository navigation
fix(pm): the arm audit settles a measured Tier H past an unread input, names an edited carry hop, and the verifier refuses hand-offs in any spelling - #33951
Merged
Conversation
…, names an edited carry hop, and the verifier refuses hand-offs in any spelling The governed-merges arm leg no longer reads NOT MEASURED where its measured inputs alone settle Tier H (the guard's own arm re-read with each unread input answered the way that gives it no reason); an unread labels list is an unread input; an edited Regen-provenance hop that breaks a carry is named on the BREACH reason; the guard's changeset read spelling is pinned to the deletion exception; a same-second dismissal is pinned as is. The review-tier verifier refuses camelCase and hyphenated hand-off verbs and hand-offs under other verbs (a copilot review, a session created, run or interrupted). Claude-Session: https://claude.ai/code/session_01ADHkmRnBQzshoJUDvT6keE Co-authored-by: Claude <noreply@anthropic.com>
Contributor
Author
|
domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv 席位核对Verdict: ACCEPT, the seat lands · head
|
objectstack-fleet
Bot
requested review from
hotlong and
os-zhuang
as code owners
November 15, 2026 15:05
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Steve · project thread
Fixes #33765
Clause-②: no
Metadata-protocol: none
维护者速读
Regen-provenance:承接行会在 BREACH 原因里点名;审稿档位校验器能识别驼峰、连字符写法和其他动词下的转交工具。scripts/pm/下两个审计/校验脚本,不发布任何包;回滚即 revert 本 PR。scripts/pm/check-governed-merges.mjs的armSettledWithoutUnread与readArmLanding的 N-e 段;scripts/pm/verify-review-tier.mjs的connectorHandsOff。node scripts/pm/check-governed-merges.mjs --self-test && node scripts/pm/verify-review-tier.mjs --self-test,预期分别 756 条断言通过、33 个用例通过。What changes
Every hunk, by file and line range on the head (no hunk near the register/arm regions #33539 holds, L519 and L1339):
scripts/pm/check-governed-merges.mjsreadArmLandingjsdoc: one sentence naming the review follow-ups of PR #33762 #33765 items.armSettledWithoutUnreaddecides whether the measured inputs alone settle it. If they do, the entry istier-hwith those reasons and anunreadlist; otherwise it staysnot-measuredwith the old words.loadRecordRecognisersanswersavailable: falseinstead, and a list it builds always holds the relay's login). No code change;record-recognisers.mjsuntouched.Regen-provenance:hop.reviewsAsLandedjsdoc says a same-second dismissal is read as after the landing (pinned as is).armReadsNotMeasuredkeeps its export and words (new optionallabelsargument), built onarmUnreadInputs.ARM_CHANGESET_SHOWis the one spelling of the guard'sshow SHA:PATHread, used by the deletion exception and byfavourableArmGitRead.armSettledWithoutUnreadre-runs the guard's owndecomposeGovernedWork→readLowRiskTier→landsOnLowRiskArm, answering each unread input the way that gives the arm no reason: a clean changeset, every path a modified regular file, no fork, no labels.armCell: a settled Tier H row also names what it was settled without.scripts/pm/verify-review-tier.mjsconnectorToolWords/connectorHandsOff. A connector tool's name is split into words (_,-, camelCase). It refuses when the first word is a hand-off verb (send,message,start,fire,spawn,dispatch,delegate,interrupt), or when it names a hand-off target (session,agent,subagent,copilot,thread,trigger,worker) under any first word except a read verb.handsWorkToAnotherAgentORs the new check onto the exact names and the existing regexes. Nothing that refused before now passes.Direction held. No current Tier H verdict moves to S, and no not-measured verdict moves to measured S. N-a can only turn not-measured into
tier-h, and only when the arm still reads H with every unread input answered its way. The arm's verdict is a conjunction of conditions, so the reasons that remain come from measured inputs. A read with no favourable answer (anything other than the guard'sshowordiff-tree), or a read that fails again, stays NOT MEASURED. N-b only movestier-htonot-measured, or totier-hwhen N-a settles it. N-d only adds refusals. N-e changes a BREACH reason's words, not its state. N-c and N-g are comments plus a pin.N-g: harmless, pinned as is. GitHub times are whole seconds, so the order of a same-second dismissal and the landing cannot be known. The approval it restores is an authorized one, so the entry reads
cleared(the maintainer's merge), neverpass. Flipping it would turn a cleared row into a BREACH on a guess, so the behaviour is pinned instead.Tests
node scripts/pm/check-governed-merges.mjs --self-test: 745 → 756 assertions, exit 0 (head7c84b661).node scripts/pm/verify-review-tier.mjs --self-test: 30 → 33 cases across 6 batteries, exit 0.ui/scripts/__tests__/check-governed-queue-guard.test.ts(the one test file that spawnscheck-governed-merges.mjs), under the lock: Test Files 1/1, Tests 10/10, VERDICT command-exit 0.Ablations: 6 legs, each reds its pins and restores to the HEAD blob
Run through
scripts/ablation-replace.mjson 7c84b66. In every leg the anchor hit 1 → 0, and afterwardsgit diff HEADwas 0 bytes.if (settled)→if (settled && false)its labelsunread pushif (would?.carriedFrom)→… && falseARM_CHANGESET_SHOW→^refs/…at < landed→at <= landed|| connectorHandsOff(name)N-c is a comment only, so it has no ablation.
Acceptance notes
SELF_TEST_BATTERIESfloors are not raised. The new pins join existing batteries, and raising a floor would be a hunk outside this card's regions. The seat can raise them when it lands.tier-hthrough the guard's "its timeline was not read" reason.fetchTimelinethrows instead (that path is already NOT MEASURED), so nothing reaches it today.archive_session). The remedy is the same one the file already gives: review in an agent that calls none of these.Verification
Local subset on head
7c84b661(origin/main895783a1unmoved; nothing to merge), after the last commit:node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackderived 33 families; all 33 were run, plus both scripts' own self-tests.dispatch-gates --ran:33 derived famil(ies) accounted for — 33 run, 0 NOT-MEASURED (a DERIVED zero — all 33 recorded an exit code and none of them is 3).Each command and its exit code (35)
node scripts/check-closing-keyword-parity.mjs→ exit 0node scripts/check-closing-keyword-parity.mjs --self-test→ exit 0node scripts/check-comment-mask-corpus.mjs→ exit 0node scripts/check-declaration-mirrors.mjs→ exit 0node scripts/check-declaration-mirrors.mjs --self-test→ exit 0node scripts/check-self-test-wired.mjs→ exit 0node scripts/check-self-test-wired.mjs --self-test→ exit 0node scripts/check-self-test-workflow-commands.mjs→ exit 0node scripts/check-self-test-workflow-commands.mjs --self-test→ exit 0node scripts/check-skills-token-ratchet.mjs→ exit 0node scripts/check-skills-token-ratchet.mjs --self-test→ exit 0node scripts/check-whole-set-label-write.mjs→ exit 0node scripts/check-whole-set-label-write.mjs --self-test→ exit 0node scripts/ci/plan-test-core-shards.mjs --self-test→ exit 0node scripts/pm/bare-root-worklist.mjs --self-test→ exit 0pnpm check:agent-test-spelling→ exit 0pnpm check:bash32-floor→ exit 0pnpm check:ci-filter-parity→ exit 0pnpm check:cli-command-ids→ exit 0pnpm check:cross-package-test-inputs→ exit 0pnpm check:driver-memory-census→ exit 0pnpm check:entry-guard→ exit 0pnpm check:gitlink-declared→ exit 0pnpm check:nul-bytes→ exit 0pnpm check:parse-guard→ exit 0pnpm check:pm-dispatch-gates→ exit 0pnpm check:pm-governed-merges→ exit 0pnpm check:pnpm-filter-targets→ exit 0pnpm check:pnpm-flag-spellings→ exit 0pnpm check:ratchet-remedy-authority→ exit 0pnpm check:refd-timer-probe→ exit 0pnpm check:scripts-symbol-anchors→ exit 0pnpm check:watch-hint-literal→ exit 0node scripts/pm/check-governed-merges.mjs --self-test→ exit 0node scripts/pm/verify-review-tier.mjs --self-test→ exit 0Generated by Claude Code